# -*- coding:utf-8 -*-

from rest_framework import serializers
from Apps.UITest.models import uiCaseLog
from Apps.user.ser.userSer import CMUserSer


class uiCaseLogSer(serializers.ModelSerializer):
    creator = CMUserSer()
    modifier = CMUserSer()

    class Meta:
        model = uiCaseLog
        fields = '__all__'
        depth = 1


class runUiCaseSer(serializers.ModelSerializer):
    class Meta:
        model = uiCaseLog
        fields = '__all__'
